//
//  KeyboradController.swift
//  CHSimpleUI
//
//  Created by cyptt on 2022/7/18.
//

import UIKit

class KeyboradController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
    }


    @IBAction func keybordBtn(_ sender: UIButton) {
        
        
        let keybord:CHKeyBoard = CHKeyBoard()
        keybord.show(type: .number,title: "请输入6位亮证密码",sureColor: UIColor.red)
        keybord.sureKeyBoardClick { keyText in
            print(keyText)
        }
        keybord.textFisSecureTextEntry(isSecure: true)
    
    
    }
    
    
    @IBAction func keyBordTwo(_ sender: UIButton) {
        
        let keybord:CHKeyBoard = CHKeyBoard()
        keybord.show(type: .number)
        keybord.sureKeyBoardClick { keyText in
            print(keyText)
        }
        keybord.textFisSecureTextEntry(isSecure: true)
    }
    
    
   
}
